package com.chenyun.cocobackend;

import com.chenyun.cocobackend.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/*@RestController*/
@SpringBootApplication
public class CocoBackendApplication {
    @Autowired
    private UserMapper userMapper;

    public static void main(String[] args) {
        SpringApplication.run(CocoBackendApplication.class, args);

    }

   /* @GetMapping("/")
    public List<User> index() {
        return userMapper.getusers();
    }*/

}
